import React from 'react';

import Constants from '../../common/Constants';
import CommonRequestDataAction from '../common/CommonRequestDataAction';
import ToastUtils from '../../common/ToastUtils'

export default class HeartLoveBlackLoverAction extends CommonRequestDataAction {
  constructor(props) {
    super(props);

    this.moduleType = Constants.MODULE_TYPE.HEART;
    this.name = "HeartLoveBlackLoverAction";
  }
  finish(data, isSucceed, response) {
  	if (isSucceed) {
  		this.caller.setState({needSucced: true})
  	}else{
  		this.caller.setState({needSucced: false})
  	}
  }
}
